//
//  JBThreeViewController.m
//  OCsinaBlog
//
//  Created by jobo on 16/4/25.
//  Copyright © 2016年 jobo. All rights reserved.
//

#import "JBThreeViewController.h"
#import "UIBarButtonItem+extension.h"
@interface JBThreeViewController ()

@end

@implementation JBThreeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.title = @"Three" ;
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonWithBackTitle:@"返回" andWithNolImg:@"navigationbar_back_withtext" withHlgImg:@"navigationbar_back_withtext_highlighted"withTarget:self action:@selector(backAction)] ;
    
}
//返回按钮事件
- (void) backAction
{
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
